#!/bin/sh

set -e

case "$1" in
  configure)
    update-alternatives --quiet --install @MEMO_PREFIX@@MEMO_SUB_PREFIX@/bin/pager pager \
      @MEMO_PREFIX@@MEMO_SUB_PREFIX@/bin/less 77 --slave @MEMO_PREFIX@@MEMO_SUB_PREFIX@/share/man/man1/pager.1@MEMO_MANPAGE_SUFFIX@ \
      pager.1@MEMO_MANPAGE_SUFFIX@ @MEMO_PREFIX@@MEMO_SUB_PREFIX@/share/man/man1/less.1@MEMO_MANPAGE_SUFFIX@
  ;;
  abort-upgrade|abort-remove|abort-deconfigure)
  ;;
  *)
    echo "postinst called with unknown argument \`$1'" >&2
    exit 0
  ;;
esac



exit 0
